﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class ItemInfo
{
    //道具唯一ID
    public int ItemId { set; get; }
    //道具模型ID
    public int ItemModelId { set; get; }
    public int ItemNum { set; get; }
    public int GridId { set; get; }
    public string ItemName { set; get; }
    public string ItemImgRes { set; get; }
    public string ItemDsc { set; get; }

    public ItemInfo Clone()
    {
        ItemInfo newItem = new ItemInfo();
        newItem.ItemId = this.ItemId;
        newItem.ItemModelId = this.ItemModelId;
        newItem.ItemNum = this.ItemNum;
        newItem.GridId = this.GridId;
        newItem.ItemName = this.ItemName;
        newItem.ItemImgRes = this.ItemImgRes;
        newItem.ItemDsc = this.ItemDsc;
        return newItem;
    }
}
